package com.atguigu.gmall.common.config.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;


@ConfigurationProperties(prefix = "app.minio")
@Component
@Data
public class MinioProperties {
    @Value("${app.minio.secretKey}")
    String secretKey;

    @Value("${app.minio.accessKey}")
    String accessKey;

    @Value("${app.minio.endpoint}")
    String endpoint;

    @Value("${app.minio.bucketName}")
    String bucketName;
}
